using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 新增约球用户dto
    /// </summary>
    public class BallUserAddDto
    {
        /// <summary>
        /// 约球ID
        /// </summary>
        [Required(ErrorMessage = "约球ID必填")]
        public Guid BallId { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        [Required(ErrorMessage = "业务ID必填")]
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 用户1
        /// </summary>
        [Required(ErrorMessage = "用户1必填")]
        public Guid User1Id { get; set; }

        /// <summary>
        /// 用户2
        /// </summary>
        public Guid? User2Id { get; set; }
    }
}
